﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace NUnitTest.UnitTest.Targets
{
    [TestFixture]
    public class TestCrashConstructor
    {
        public TestCrashConstructor()
        {
            throw new Exception("Simulated Crash");
        }

        [TestFixtureSetUp]
        public void Setup()
        {
        }

        [Test]
        public void TestOneShouldFail()
        {
            DummyDatabase.UseTable(12);
        }

        [Test]
        public void TestTwoShouldFail()
        {
            Assert.Fail();
        }

        [TestFixtureTearDown]
        public void Teardown()
        {
            Assert.Fail();
        }
    }
}
